package cn.javaSong;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.net.InetAddress;
import java.net.UnknownHostException;

@MapperScan("cn.javaSong.mapper")
@SpringBootApplication
public class JavaSongApplication {

    public static void main(String[] args) {
        SpringApplication.run(JavaSongApplication.class, args);
        try {
            System.out.println("视频访问链接-->   http://" + InetAddress.getLocalHost().getHostAddress() + ":8026/video/yy/1.mp4");
        } catch (UnknownHostException e) {
            e.printStackTrace();
        }
    }

}
